package com.pantuo.sys.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pantuo.sys.pojo.Equipment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface EquipmentDao extends BaseMapper<Equipment> {

    public List<Map<String, Object>> findAllObjects(@Param("map1") Map<String, String> map1,
                                                    @Param("map2") Map<String, String> map2,
                                                    Integer start,
                                                    Integer length);

    public Long getTotal(@Param("map1") Map<String, String> map1);

}
